﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HR.ProjectX.Models.Entities.Customers
{
    public class CustomerBusinessRules
    {
        public static readonly BusinessRule CustomerNameRequired = new BusinessRule(
                                      "CustomerName", "A customer must have a valid Name.");
        public static readonly BusinessRule CustomerGenderRequired = new BusinessRule(
                                      "CustomerGender", "A customer must have a valid Gender.");
        public static readonly BusinessRule CustomerEmailRequired = new BusinessRule(
                                      "CustomerEmail", "A customer must have a valid Email.");
        public static readonly BusinessRule CustomerPhoneNumerRequired = new BusinessRule(
                                      "CustomerPhoneNumer", "A customer must have a valid Phonenumber.");
        public static readonly BusinessRule CustomerAddressRequired = new BusinessRule(
                                      "CustomerAddress", "A customer must have a valid Address.");
        public static readonly BusinessRule CustomerTownRequired = new BusinessRule(
                                      "CustomerTown", "A customer must have a valid Town.");
        public static readonly BusinessRule CustomerCountryRequired = new BusinessRule(
                                      "CustomerCountry", "A customer must have a valid Country.");
    }
}
